
const userMap = {
	admin: {
		EX_SysAuthToken: 'admin-EX_SysAuthToken',
		EX_JESSIONID: 'admin-EX_JESSIONID',
		name: 'Super Admin'
	}
}

export default {
	userLogin: config => {
		const { loginName } = JSON.parse(config.body)
		return userMap[loginName]
	},
	logout: () => 'success'
}
